correct the parser