fix issue with keypad keys (bad copy/paste)
fix segfault. Closes T1716