suppressed warning in registry and registry use