fix bug with TAB