change DIR structure