bugfix: with_mask should be usable when no `_mask` is defined