cleanup and deintegrator