put validator_class in the wrong place