fixed error coloring