NOx is caused by many things, not just a defective EGR valve. There are a ton of things that can cause elevated NOx levels like; a bad EGR valve, excessive internal carbon build up, warped cylinder head, decked cylinder head, low fuel pressure, vacuum leaks, defective MAF sensor, defective O2 sensors, defective catalytic converter, lean a/f ratios, defective EGR modulator, clogged EGR passages, clogged intake manifold EGR passages, defective ECU, advanced timing and the list can go on forever.