controller callback cleanup.