fix bug in popularity_list