dir tree fix