Cleanup after debug.