fix up the parser so it compiles