diff --git a/src/cal_tools/gotthard2/gotthard2lib.py b/src/cal_tools/gotthard2/gotthard2lib.py
index 8a0a32b5d974f11c510abf5165440eb89333faed..a102aaa14860a5a44ed73a0a6651ca0e6ac72d56 100644
--- a/src/cal_tools/gotthard2/gotthard2lib.py
+++ b/src/cal_tools/gotthard2/gotthard2lib.py
@@ -26,7 +26,7 @@ class Gotthard2Ctrl():
             self.run_dc[self.ctrl_src, "exposurePeriod"].as_single_value(), 4))  # noqa
 
     def get_acquisition_rate(self):
-        if "acquisitionRate.value" in self.run_dc.keys_for_source(self.ctrl_src):  # noqa
+        if "acquisitionRate.value" in self.run_dc.get_run_values(self.ctrl_src):  # noqa
             return(
                 float(self.run_dc.get_run_value(
                     self.ctrl_src, "acquisitionRate")))