trying to fix the detail view again