I had a faulty coolant temp sensor that caused bad readings at smog check.