diff --git a/product/ERP5Type/Core/Folder.py b/product/ERP5Type/Core/Folder.py
index a00bfeebec5192fdca7f2525e52c375943240650..3544b9efc7839b1671ea4263c8702d0660fa5d45 100644
--- a/product/ERP5Type/Core/Folder.py
+++ b/product/ERP5Type/Core/Folder.py
@@ -28,7 +28,7 @@
 
 import transaction
 from AccessControl import ClassSecurityInfo
-from Acquisition import aq_base, aq_self
+from Acquisition import aq_base, aq_self, aq_parent
 from OFS.History import Historical
 from OFS.Folder import Folder as OFSFolder
 import ExtensionClass
@@ -349,7 +349,7 @@ class FolderMixIn(ExtensionClass.Base):
     specified case (eg. web_site_module/site/fr/web_page_module), we
     call aq_parent instead to reach the Web Site.
     """
-    return self.aq_parent.getWebSiteValue()
+    return aq_parent(self).getWebSiteValue()
 
   security.declareProtected(Permissions.AccessContentsInformation,
                             'getWebSectionValue')
@@ -359,7 +359,7 @@ class FolderMixIn(ExtensionClass.Base):
     specified case (eg. web_site_module/site/fr/section/web_page_module),
     we call aq_parent instead to reach the Web Section.
     """
-    return self.aq_parent.getWebSectionValue()
+    return aq_parent(self).getWebSectionValue()
 
 BTREE_HANDLER = 1
 HBTREE_HANDLER = 2