fix a bug for irq disable flag for user