fixed the bug where the map view would only display half of the pins