reconstrcut the dirs
reconstrcut the dirs