make the render_posts prettier