fixed error class in forms