Correct some errors in code