fixed rpc interface functions