Fixed the pointer for the map