fixed eol recognition in uartmanager