fixed transmitter function undefined