fix mismatch between validation and error message