Cubase 14 - changing note pitch in score editor with midi

Hi!
I could not find out how to start in “Safe mode” so I renamed the preference folder. Then opened the project, activated the Midi input and it worked. But, the input added some extra notes here and there. In the screenshot you can see some doubles.