remove rewriter