[Tx] Fix tree parsing