election new leader and rejoin works