fix injection rewriter.