fixed a bug in UART TX; was stuck in interrupt loop