fix bug in iterator
fix bug in iterator
test ok