fixed voting in index