correct rendering errors 6