fixed: initialize error when set up hotkeys