cleanup detail