detail view fix