05 mercury monterey help

Help, I have a 2005 mercury monterey that had code p0401 on it. I cleaned the EGR valve with carb cleaner and reset code by disconnecting negative battery cable to battery.  I connected everything back up, code went away and now 2 weeks later I am getting horrible gas mileage.  Why? thanks.