Adjust dir structure