Fixed Adi's pinMapData bug