diff --git a/2d_spots_in_fibers.py b/2d_spots_in_fibers.py
index 736d494fa3e1f3c2c6c5507f436b516ad7bfc818..4f516423ef56a238671c20972c714ae17d4cf010 100644
--- a/2d_spots_in_fibers.py
+++ b/2d_spots_in_fibers.py
@@ -201,7 +201,7 @@ def run_trackmate_dog_spot_detector(imp, spot_diameter, quality_threshold):
 
     exportSpotsAsDots = True
     exportTracksOnly = False
-    labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_SPOT_ID
+    labelIdPainting = LabelImgExporter.LabelIdPainting.LABEL_IS_INDEX_MOVIE_UNIQUE
     label_imp = LabelImgExporter.createLabelImagePlus(trackmate, exportSpotsAsDots, exportTracksOnly, labelIdPainting)
     label_imp.setCalibration(cal)
     imp.close()