diff --git a/python/HelperModules/injectionhandler.py b/python/HelperModules/injectionhandler.py
index 47981383ec3611263400dc02821af499974a0933..080c17bfa9ae077bdeb49a4a21f887993cdf4a5f 100644
--- a/python/HelperModules/injectionhandler.py
+++ b/python/HelperModules/injectionhandler.py
@@ -110,7 +110,7 @@ class injectionhandler():
         all_labels = []
         for c in self.m_cfgsets:
             all_labels.append([out.get("Label") for out in c.get("OUTPUT")])
-            for l in [out.get("Label").replace(" ", "_") for out in c.get("OUTPUT")]:
+            for l in [out.get("Name").replace(" ", "_") for out in c.get("OUTPUT")]:
                 NewBranches[f"{l}"] = array('f', [0])
         flat_labels = [item for sublist in all_labels for item in sublist]
         if len(np.unique(flat_labels)) < len(flat_labels):