removing what is not needed from antlr, pushing to geta checkpoint before rewriting parsing