bugfix on voting