fix for keypad divide