Added fix to get all posts