refactor voting in commentShow