P0012 code ,kia forte

I have got a check engine and a trouble code p0012. I dig it up and it is related to camshaft sensor. I have replaced the sensor and cleared the error but the light came again with the same code .What should I do?

Replacing the sensor is not the solution to the problem. It is a problem with the timing chain or the variable timing actuator. You need to take it to a mechanic that can find out which it is.

What year?

2009, kia forte