fixing PostsController