diff --git a/src/Service/UWService.php b/src/Service/UWService.php
index cee85ba2e615197a1f1ce25a294d6cfd497b2da8..7bd89b6a8c3746e97c395bd474535c789d5c0c12 100644
--- a/src/Service/UWService.php
+++ b/src/Service/UWService.php
@@ -10,7 +10,6 @@ use Drupal\node\Entity\Node;
 use Drupal\node\NodeInterface;
 use Drupal\simplify_menu\MenuItems;
 use Drupal\path_alias\AliasManager;
-use Drupal\taxonomy\Entity\Term;
 
 /**
  * Class UWService.
@@ -549,7 +548,7 @@ class UWService implements UWServiceInterface {
     foreach ($tids as $tid) {
 
       // Load the term.
-      $term = Term::load($tid['target_id']);
+      $term = $this->entityTypeManager->getStorage('taxonomy_term')->load($tid['target_id']);
 
       // If this is a tags term type, we have to include
       // url and title.  If not just the tag name.