parse tree fix