fix db vote