recover RpcServiceRegistry code change