correction to the parser