fix detail page