handle some interrupts