added color to error messages