fixed form detecting after pressed shortcut