Fix a bug that causes the interrupt before returning from enable_IRQ()