fix errors for 'current_cable_type' and 'uart_connecting'