Problem with saving camera animation and rendering

Hi everybody I have a problem with the camera animation, I’m using a curve and a Clamp to, but when I finish and start rendering, the render is different to the viewport and when I save and I reopen Blender, the camera has moved to other location. I don’t know what is happening. Thanks in advance.