Minor bug fix (UART interface).