thanks every one for the response. It so happened that i did screw up the TPS. I had it adjusted while running as TECHNISMO has suggested and now CEL is gone. Idle speed after a week or so is now normal, probably because the computer has readjusted itself after resetting the ECU.
Thanks to all!