fixed the registry for managed hosts