rebuilded dir structure