fix bug on vote