fix only half of the data being transmitted over usart