correct ifclause for taxonomy