fixing referral buttons