deletes extra folder and adjusts tabs