diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h
index 76f17b9dac5d09dc7c6025f93474cf2d06e196df..4d4215544190d17aee2e187a403a47292d57650a 100644
--- a/include/caosdb/entity.h
+++ b/include/caosdb/entity.h
@@ -707,6 +707,7 @@ public:
                                                : static_cast<ProtoDataType *>(nullptr)) {
     properties.wrapped = this->wrapped->mutable_properties();
     parents.wrapped = this->wrapped->mutable_parents();
+    file_descriptor.wrapped = this->wrapped->mutable_file_descriptor();
   };
   explicit inline Entity(EntityResponse *response) : Entity(response->mutable_entity()) {
     this->errors.wrapped->Swap(response->mutable_errors());