diff --git a/src/caosdb/exceptions.py b/src/caosdb/exceptions.py
index 20c5f7c97de3f4e3fe185b211da07d190ffbba04..25dfe747843d5f09ab8a6076348b178281eed02c 100644
--- a/src/caosdb/exceptions.py
+++ b/src/caosdb/exceptions.py
@@ -277,6 +277,7 @@ class EntityError(TransactionError):
 
     def _convert(self):
         t = self._calc_bases()
+        # TODO is it really a good idea to create dynamically types here?
         newtype = type('EntityMultiError', t, {})
         newinstance = newtype(error=self.error, entity=self.entity)
         setattr(newinstance, 'msg', self.msg)