Detail page now working