fixed wrong rpc call