diff --git a/pmag.py b/pmag.py
index <HASH>..<HASH> 100755
--- a/pmag.py
+++ b/pmag.py
@@ -8452,6 +8452,8 @@ def read_criteria_from_file(path,acceptance_criteria):
                 acceptance_criteria[crit]['value']=rec[crit]
                 acceptance_criteria[crit]['threshold_type']="inherited"
                 acceptance_criteria[crit]['decimal_points']=-999
+                # LJ add:
+                acceptance_criteria[crit]['category'] = None
                 
             # bollean flag
             elif acceptance_criteria[crit]['threshold_type']=='bool':
(temporary?) fix for measurement_step_max key error in thellier_gui auto interpreter with older data sets