cleaning up the directories