fix bug.

iter is null.