fixed a bug in assigning taxon