fix upvote bug