key events bug