added error for agreement

added error for agreement