bugfix affiliates