Rewriter - correct some typos