fixes one tab and deletes extra div