repaire directory structure.