switch errors to red