fix for detail view