diff --git a/video_prediction_tools/utils/runscript_generator/config_preprocess_step1.py b/video_prediction_tools/utils/runscript_generator/config_preprocess_step1.py
index a1aa0dba9c5ca1e230c254a4d0a7b5439db0d5e3..51d3de9f71c8c6d9b756ee800cc74aab49ae3413 100755
--- a/video_prediction_tools/utils/runscript_generator/config_preprocess_step1.py
+++ b/video_prediction_tools/utils/runscript_generator/config_preprocess_step1.py
@@ -247,13 +247,13 @@ class Config_Preprocess1(Config_runscript_base):
         if not status:
             inds_bad = [i for i, e in enumerate(check_vars) if e] # np.where(~np.array(check_vars))[0]
             if not silent:
-                print("%{0}: The following comma-separated elements are unknown variables:".format(method_name))
+                print("%{0}: The following comma-separated elements are unknown variables:".format(method))
                 for ind in inds_bad:
                     print(vars_list[ind])
             return status
 
         if not (len(check_vars) == Config_Preprocess1.nvars or len(check_vars) == 1):
-            if not silent: print("%{0}: Unexpected number of variables passed.".method(method))
+            if not silent: print("%{0}: Unexpected number of variables passed ({1} vs. {2}).".format(method, len(check_vars), Config_Preprocess1.nvars))
             status = False
 
         return status