refactor scope_with_filters unused code