better error coloring