modify isr and irq handler