extended debug in receive routine