make RPC demo really work