pretty primitive handle of tab key