added debugging in transceiver
FIX: off by one -> olegs guess