Python 3 fix on map.