diff --git a/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_checkAndUpdateCapacityScope.xml b/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_checkAndUpdateCapacityScope.xml
index f21724a170c5669d21cb53105bc09ae90f134091..eaa9059987f57e564a3a88a261342c345381131a 100644
--- a/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_checkAndUpdateCapacityScope.xml
+++ b/master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/Computer_checkAndUpdateCapacityScope.xml
@@ -97,7 +97,7 @@ if can_allocate:\n
   consumed_capacity = 0\n
 \n
   for instance in portal.portal_catalog.portal_catalog(\n
-      default_aggregate_uid=computer.getUid(),\n
+      default_aggregate_relative_url=\'%s/%%\' % computer.getRelativeUrl(),\n
       portal_type=[\'Software Instance\', \'Slave Instance\'],\n
       validation_state=\'validated\'):\n
 \n
diff --git a/master/bt5/slapos_cloud/bt/revision b/master/bt5/slapos_cloud/bt/revision
index d903d597234bc96adec8c970a520682d3913bf41..20ad60520b19499aa06741e562c6f79e8c99c9c5 100644
--- a/master/bt5/slapos_cloud/bt/revision
+++ b/master/bt5/slapos_cloud/bt/revision
@@ -1 +1 @@
-229
\ No newline at end of file
+230
\ No newline at end of file