bugfix in elections