Cleanup detail view