What throttle body/TPS are you using with your FFIM? The code 51 means that your idle contacts in the TPS are not closed when you tried to run the diagnostic. If you are using the stock TPS you should have a ground on the yellow/blue wire coming out of pin 3 of the TPS when the throttle is fully closed. If not you need to adjust the tps.