fixed rpc call