diff --git a/Reconstruction/Jet/JetRec/python/JetToolSupport.py b/Reconstruction/Jet/JetRec/python/JetToolSupport.py
index 5796f219df93d997e4a5eed3d036c9c73e98bace..65c97f4436c7cbcd15201ca34d09c00ce859af89 100644
--- a/Reconstruction/Jet/JetRec/python/JetToolSupport.py
+++ b/Reconstruction/Jet/JetRec/python/JetToolSupport.py
@@ -144,7 +144,7 @@ class JetToolManager:
   def configureContainerName(self, modifiers, containerName):
     for mod in modifiers:
       if "JetContainer" in mod.properties():
-        print "configuring " + mod.name() + " to have container name " + containerName
+        print ("configuring " + mod.name() + " to have container name " + containerName)
         mod.JetContainer = containerName
 
   # Return the list of modifiers associated with a name.
diff --git a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
index f99d596ec611a5557cc1234289321f9ff96ed870..08e126ccae6104fddc0ae9d257311f7e9c9a6792 100644
--- a/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
+++ b/Reconstruction/Jet/JetRecConfig/python/JetRecConfig.py
@@ -216,7 +216,7 @@ def expandPrereqs(reqtype,prereqs):
 def configureContainerName(modifiers, containerName):
     for mod in modifiers:
         if "JetContainer" in mod.properties():
-            mod.JetContainer = output
+            mod.JetContainer = containerName
 
 
 ########################################################################