Fix UART adapter init issue