hopefully this fixes leader swapping