fix the path of posts