Corrected an error in getMarker