Correct some mistakes