voting bugfix