fixing voting flow bugs