fix hotkey problem