Fixed a but in the map