Correct some sg errors.