cleanup controler