tweaks to keypad controller