fixed leader election issue