diff --git a/src/cal_tools/jungfraulib.py b/src/cal_tools/jungfraulib.py
index d19d3d617e2ef17c2b356f7f47f95066c2890838..bb1fcbcfa14439eb965d84cae47785a09725ffb0 100644
--- a/src/cal_tools/jungfraulib.py
+++ b/src/cal_tools/jungfraulib.py
@@ -153,7 +153,7 @@ def sort_runs_by_gain(
 
     Args:
         raw_folder (str): RAW folder for the validated dark runs.
-        runs (list, optional): [High run, Medium run, Low run].
+        runs (list): [High run, Medium run, Low run].
         ctrl_src (str): Control source path for slow data.
         modes_order (dict): Gain modes order to sort the runs by.
         expected_run_order (list):Expected dark runs order to process.
@@ -200,7 +200,8 @@ def sort_runs_by_gain(
     if modes == legacy_adaptive:
         warning(f"run.settings for medium and low gain runs"
                 f" are wrong {modes[1:]}. This is an expected "
-                f"bug for old raw data. Setting gain_mode to {gm}.")
+                f"bug for old raw data. "
+                "Assuming this is an adaptive gain runs.")
     elif not modes in expected_run_order:
         raise ValueError("Wrong dark runs are given. "
                          f"The given three runs are {runs} with "