cleaning up keystrokes