fix small bug appeared in the route account/posts/id