fixed removeMarker functionality