Correct some errors for first debug.