fix a bug of InstanceIterator