fixed affiliate_id