work on detail page