revise some mistakes