On certain models contamination of the grease on the gas pedal potentiometer causes the check engine light to come on and may cause a rough idle. The potentiometer will need to be replaced and adjusted to fix this problem.