fix colour on error