Fix re-elect bug