bugfix on the map.