clean up keypad mode too