fixed rpc cli