fix dir tree