fixed Post.details bug