fix hotkeys not working correctly