affiliates fix