election process bug fixes