popular_posts_manual's improvements