cleaning interrupts code