remove unused argument in buildMarker function