Fixed minor irq bug