get rid of nested filter-spec