correct RegistryView constructor