fixed referral controller