fixPostsTable method