fix bug in TaxTreeHelper