Fixed Extra Generated Tabs