remove data works for predicates