fixing posts_per_page ref