diff --git a/src/calng/frameselection_utils.py b/src/calng/frameselection_utils.py
index 5531c60cbb8937b71682ec8d22960c344906beb0..f6b96c59c9c499aec5b57c73206af01fba9a4e3a 100644
--- a/src/calng/frameselection_utils.py
+++ b/src/calng/frameselection_utils.py
@@ -80,7 +80,7 @@ class FrameselectionFriend:
         if self._enabled and self._arbiter in sources:
             return np.array(
                 sources[self._arbiter][0]["data.dataFramePattern"], copy=False
-            ).astype(np.bool, copy=False)
+            ).astype(bool, copy=False)
         else:
             return None