also fixed the message because ValidatorFactory does not exist anymore