Clean up the code in parse
Clean up the code in parseTreeDump