fix receiver fifo wrap around