fix the parser