I have recently replaced the EGR valve on the vehicle and the code went away for about a month. Here recently the code came back on when I first started the vehicle up in the morning. This time the reduced power came on along with the same code p0400, what's weird is in the afternoon when I'm driving home the engine light turns off. The light is only coming on when I first start up the vehicle. The filter is clean all the bolts are nice and tight all gaskets were installed when I replaced the EGR valve. Not sure if its some kind of sensor or what just really frustrated at this point.