fixed parsedTree bug