fixup directory