parse tree builder cleenup