fix iter bug
Merge pull request #43 from ruoshui1126/master

fix iter bug