orrection delayForUart logical error