directories fix