diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py
index ceb790f44f2aab2036b3b327c928b8524d973bf9..0ccb0410b80b3d1fe3ea9311796df37aa31da1ab 100644
--- a/src/caosdb/common/models.py
+++ b/src/caosdb/common/models.py
@@ -2678,7 +2678,7 @@ class Container(list):
             if raise_exception_on_error:
                 te = TransactionError(
                     msg="There are no entities to be deleted.",
-                    continer=self)
+                    container=self)
                 raise te
 
             return self