Fixing missing getPosts