rename 'leader' to 'prefer_leader'