Fix dropping characters while transmitting