fixed bug in irq_common_stub