Iterate fixed

a bug in iterate fixed