fix for detail page