Help! Punch in Record Stopped working CC121

Hi there
I am using the CC121 and a Yamaha foot switch that I use to jump in/out of a track to record , it has been working flawlessly for years but whatever I did this evening or pressed, a press of the swich it now starts recording from the cursor point and when I click the pedal again it jumps back to start of cursor deleting the audio and keeps recording etc.
Any ideas ??

I sorted it out , press the Set up Common Record Mode icon bottom left and change settings to punch in/out and record at project markers !!!