fix iteration validatior logic problem