corrected the out of loop post.content