fix transmit and reduce debug messages