correct some display problems.