fix configmanager.init