rpc fix register service