fix num_upvotes