not loading the registry more than once