find a bug in InstanceIterator