diff --git a/DDG4/python/DDG4.py b/DDG4/python/DDG4.py
index eb08220342bd6e56604a5182bc0d316795437d40..41007834e44c760ca725c32f34b198d15a7c9e5a 100644
--- a/DDG4/python/DDG4.py
+++ b/DDG4/python/DDG4.py
@@ -681,8 +681,6 @@ class Geant4:
     # sd.setType('calorimeter')
     if typ is None:
       typ = self.sensitive_types['calorimeter']
-    elif typ is not None and self.sensitive_types.get(typ):
-      typ = self.sensitive_types[typ]
     return self.setupDetector(name, typ, collections)
 
   def setupTracker(self, name, type=None, collections=None):  # noqa: A002
@@ -696,8 +694,6 @@ class Geant4:
     # sd.setType('tracker')
     if typ is None:
       typ = self.sensitive_types['tracker']
-    elif typ is not None and self.sensitive_types.get(typ):
-      typ = self.sensitive_types[typ]
     return self.setupDetector(name, typ, collections)
 
   def _private_setupField(self, field, stepper, equation, prt):