Temp sensor location on 2006 Chevrolet HHR

I am getting intermittent failure of the temperature to read and check engine light comes on. previous repair string indicated bad temp sensor. I need to know location on engine - i found two sensors on the top but not sure which one is correct. 2.4 L engine

Asked by for the 2006 Chevrolet HHR
My very best advice for instructions on this repair is to pay for a repair manual. You'll need the step-by-step and the diagrams. You can get even temporary access for a good price here:
i found the temp sensor - left (drivers) side back of the engine toward driver -
I replaced it an now a week later same problem, temp wont register. Any ideas???