moved affiliatemode forcing to where it would be used in the call