fix in sets rewriter