get posts to render properly