diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_checkCounterOpened.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_checkCounterOpened.xml
index 66934515283f5ae6acfcc2b92fffca408a800ad3..bcb5b90586055382f0125a1a591573aed8b91ff8 100644
--- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_checkCounterOpened.xml
+++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_checkCounterOpened.xml
@@ -72,7 +72,7 @@
 counter_list = [x.getObject() for x in context.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n
 for counter_ob in counter_list:\n
 #  context.log(counter.getRelativeUrl(), counter_ob.getSite())\n
-  if "site/%" %counter_ob.getSite() in counter.getRelativeUrl() or counter.getRelativeUrl() in "site/%" %counter_ob.getSite():\n
+  if "site/%s" %counter_ob.getSite() in counter.getRelativeUrl() or counter.getRelativeUrl() in "site/%s" %counter_ob.getSite():\n
     return 1\n
 else:\n
   return 0\n