fix minor bug of hotkeys