fix to get all posts