correct rendenring errors 5