fixing election_id checker