fixed vote saving