fix keybinding bugs