fixing post_page cursor problem