Fix wrong setting referral