diff --git a/src/Form/TaxonomyReplaceForm.php b/src/Form/TaxonomyReplaceForm.php
index 8108119..4a1c8a3 100644
--- a/src/Form/TaxonomyReplaceForm.php
+++ b/src/Form/TaxonomyReplaceForm.php
@@ -23,7 +23,7 @@ class TaxonomyReplaceForm extends ContentEntityDeleteForm {
 
     $term = $this->getEntity();
     $old_tid = $term->id();
-    $vid = $term->getVocabularyId();
+    $vid = $term->bundle();
 
     $form['old_term'] = [
       '#title' => $this->t('Current taxonomy term'),
@@ -138,7 +138,7 @@ class TaxonomyReplaceForm extends ContentEntityDeleteForm {
     return $this->t('Are you sure you want to replace and delete the @entity-type %label?', [
       '@entity-type' => $this->getEntity()
         ->getEntityType()
-        ->getLowercaseLabel(),
+        ->getSingularLabel(),
       '%label' => $this->getEntity()->label(),
     ]);
   }
