fix the tab issue