cleanup State