fixed main tree dir