fixed success and error coloring