diff --git a/saqc/funcs/constants.py b/saqc/funcs/constants.py
index a3af13d614af1f036cf2571a29fdc2cd27692052..b1c68ee1009db4633b90ff5cf8e20ef35d96a107 100644
--- a/saqc/funcs/constants.py
+++ b/saqc/funcs/constants.py
@@ -73,7 +73,7 @@ class ConstantsMixin:
         rolling = d.rolling(window=window, min_periods=min_periods)
         starting_points_mask = rolling.max() - rolling.min() <= thresh
 
-        removeRollingRamps(starting_points_mask, window=window, inplace=True)
+        starting_points_mask = removeRollingRamps(starting_points_mask, window=window, inplace=True)
 
         # mimic forward rolling by roll over inverse [::-1]
         rolling = starting_points_mask[::-1].rolling(