fixed problem in transmitter