fixing a bug on adding types when taxon is selected