fix the directories