fixing up maxchecked validator