removes referral_code