add class to error msgs from validation