fix hotkeys bug