fixed keyboard input