fixing bug in map
0.3.11 small bugfix