Fixing loading problem in registry.