diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py
index 036abb76e757b57f9b6fab0162246be358b5f266..2f8909c301a1d4e6d7ec6b184c6dadffe92c103d 100755
--- a/src/xfel_calibrate/calibrate.py
+++ b/src/xfel_calibrate/calibrate.py
@@ -806,7 +806,7 @@ def run(argv=None):
         ))
         errors = False
 
-    fmt_args = {'run_path': cal_work_dir,
+    fmt_args = {'cal_work_dir': cal_work_dir,
                 'out_path': out_path,
                 'version': version,
                 'title': title,