Correct some mistakes in code