fix upvote/downvote behavior