Fix parseInt in map
Merge pull request #17 from alanshaw/master

Fix parseInt in map