fix tab keypress typing 'tab'