ENH: Correct some mistakes and syntax