Fixing registry.