fixed the tab issue