set action var correctly for affiliate referral graphs