fix the baudrate selection