diff --git a/scripts/plot_cc_xsection.py b/scripts/plot_cc_xsection.py
index 11ce5864e93527a8b1880c5136063aee802d5fbc..9a2aa00a80563da2d35b30b9a5222cf76602928a 100755
--- a/scripts/plot_cc_xsection.py
+++ b/scripts/plot_cc_xsection.py
@@ -91,7 +91,7 @@ def worker(energy, anti_flag=False):
     if anti_flag:
         process = "anticc"
     # create a neutrino jobcard for oxygen
-    tmpjc = generate_neutrino_jobcard("cc", "electron", energy, (8, 16))
+    tmpjc = generate_neutrino_jobcard(process, "electron", energy, (8, 16))
     datadir = TemporaryDirectory(dir=dirname(__file__),
                                  prefix="%sGeV" % energy)
     run_jobcard(tmpjc, datadir.name)