fix registry get config