fix error coloring