optimize ISR,common interrupts