added red to error class