added class for error message display