Fix bug on map.