the validator function is not invoked