initialize global var in registry