fixing up minchecked validator