bug fix add detail page