fixed Cmd-Tab reset