MIDI notes-Cubase 13

Hi!

when i record midi, the notes are placed on the bar before where they are played.
So everything I record in midi is ahead of the beat.
This problem appeared today, has always ended up right before.
Someone who knows???

Maybe you have it set to auto quantize?