removing stray keypress