Fixed bug using IRQ when receiving