further work to the detail page