affinity bug