Buggy get_affinity