Fix misusing iterator.
Merge pull request #18 from gwtnb/map_iterator

Fix misusing iterator.
Merge branch 'release/0.0.1'