diff --git a/src/cal_tools/calcat_interface.py b/src/cal_tools/calcat_interface.py
index 3a6f7c8ed5d2722861d326c5bb7082c9f5537b58..359280e5b63baf7f809722d2721d7ace4c5eb36d 100644
--- a/src/cal_tools/calcat_interface.py
+++ b/src/cal_tools/calcat_interface.py
@@ -127,7 +127,6 @@ class CalCatApi(metaclass=ClientWrapper):
                 return float(value)
             except:
                 return str(value)
-            return value
 
         return {
             "parameters_conditions_attributes": [{
diff --git a/src/cal_tools/calcat_interface2.py b/src/cal_tools/calcat_interface2.py
index 5bd13e1e2f840134b73e6ceda3d3a3f02f133a32..aab6574759490a04ef576732896d0872a2cf50bb 100644
--- a/src/cal_tools/calcat_interface2.py
+++ b/src/cal_tools/calcat_interface2.py
@@ -477,7 +477,6 @@ class CalibrationData(Mapping):
                 return float(value)
             except:
                 return str(value)
-            return value
 
         return {
             "parameters_conditions_attributes": [{