Fixing error on portal_registry