fix a bug in get_reviews_num_by_user function