Correct some printing issues.