Fixed setMarkers bug