accidental keypress fix