Keypress fix