fixing referral header