diff --git a/patches/uniqueIds.php b/patches/uniqueIds.php
index 4a75145b79525218bcc6e15f65e364d4b4417c3f..047fa3f12886711423681f06e7168ced894bfb79 100644
--- a/patches/uniqueIds.php
+++ b/patches/uniqueIds.php
@@ -60,6 +60,7 @@
             echo $Project->getName().'-'.$Project->getLang().'-'.$id.PHP_EOL;
 
             $Edit = $Site->getEdit();
+            $Edit->load();
             $Edit->save(QUI::getUsers()->getSystemUser());
         } catch (QUI\Exception $Exception) {
             continue;