Fix broken directory listing