Fix for securepages