fixed the tab structure