Correct some errors for comparison