fix bug shortcut in popup mode