Working but Leader election got crazy