fixed bug with mapping array arguments to map.
Merge pull request #21 from npm/undefined-fix

fixed bug converting mapping array arguments to map.