fixed the structure of the directories