Revise some mistakes and change the file dir.