Fixing keystrokes