fixed OneOf validator