fixed color output in sanity error checks