 void connectWiFi() {
     WiFi.mode(WIFI_STA);
     WiFi.hostname(host);
-    WiFi.begin(ssid[settings.wifi], pass[settings.wifi]);
+
+    if (settings.wifi < COUNT_WIFI)
+        WiFi.begin(ssid[settings.wifi], pass[settings.wifi]);
     /*
     while (WiFi.status() != WL_CONNECTED) {
         delay(500);

                break;
            case SCREEN_SETT_WIFI:
                if (settings.wifi <= 0)
                    settings.wifi = COUNT_WIFI - 1;
                else    
                    settings.wifi--;
                process = true;

                    );
                    break;
                case SCREEN_MAIN_CORE:
                    if (WiFi.status() != WL_CONNECTED || settings.wifi == COUNT_WIFI)
                        drawScreen(
                            "WiFi Unavailable", 
                            ""
                        );
                    else   
                        drawScreen(
                            formatNumbers(data.core, COMPACT_LONG, false, true, "RF"), 
                            formatNumbers(data.gain, COMPACT_SHORT, true, true, "RF/t")
                        ); 
                    break;
                case SCREEN_MAIN_BULLETIN:
                    if (WiFi.status() != WL_CONNECTED || settings.wifi == COUNT_WIFI)
                        drawScreen(
                            "WiFi Unavailable", 
                            ""
                        );
                    else {
                        String bullA = data.bulletin;
                        String bullB = "";                    
                        if (bullA.length() > 16)
                            bullB = bullA.substring(16);
                            
                        drawScreen(
                            bullA, 
                            bullB
                        );
                    }    
                    break;  
                case SCREEN_MAIN_WIFI: {
                    String wifi = "  Connecting...";
                    if (settings.wifi == COUNT_WIFI)
                        wifi = "  Disabled";
                    else if (WiFi.status() == WL_CONNECTED)
                        wifi = "  Connected";
                        
                    drawScreen(
