added class to errors div