empty directories fix