error class added to css