Bug fix for pages-integration.