fix: vote function