small fix to new election