diff --git a/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py b/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
index 8a49f3884a09d10ff84c28652505bb796b652f7d..535ad9d9a6c78f3f2fbe1650542455c4cd002998 100644
--- a/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
+++ b/deep_sequencing_unit/source/Jython/create_QGF_Invoices_simplified.py
@@ -139,7 +139,7 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi
   setOfFlowcells = set ()
   try:
     # expecting the old running folder name
-    runDate, seqId, runningNumber, flowcell = flowcellName.split("_")
+    runDate, seqId, runningNumber, flowcell = flowCellProperties["RUN_NAME_FOLDER"].split("_")
     flowcell = flowcell[1:]
   except:
     flowcell = flowcellName
@@ -240,7 +240,7 @@ def writeExcel(myoptions, configMap, service, piName, laneDict, sampleDict, piDi
   createRow()
   createRow()
   createRow()
-  createRow("Run Folder Name", flowcellName, 0, 10, True)
+  createRow("Run Folder Name", flowCellProperties["RUN_NAME_FOLDER"], 0, 10, True)
 
   createRow()
   createRow()