fix the post detail