 
   //handle the setup page
   webServer.on( "/setup", []() {
-    webServer.send( 200, "text/html", "setup page" );
+    webServer.send( 200, FPSTR( texthtmlHEADER ), F( "setup page" ) );
   });
 
   /////////////////////////////////////////////////////////////////////////////////////

//holds the current upload
File fsUploadFile;

void setupWebServer() {

  ////////////////////////////////////////////////////////////////////////////////////
  //the web interface pages alphabetically

  //handle the index page
  if ( SPIFFS.exists( "/index.htm" ) ) {
    webServer.serveStatic( "/", SPIFFS, "/index.htm" );
    webServer.serveStatic( "/index.htm", SPIFFS, "/index.htm" );
  } else {
    webServer.on( "/", []() {
      webServer.send( 200, "text/plain", "No index.htm present during boot.\nUpload index.htm and reset controller" );
    });
  }

  //handle the filemanager
  if ( SPIFFS.exists( "/filemanager.htm" ) ) {
    webServer.serveStatic( "/filemanager", SPIFFS, "/filemanager.htm" );
    webServer.serveStatic( "/filemanager.htm", SPIFFS, "/filemanager.htm" );
  } else {
    webServer.on( "/filemanager", []() {
      webServer.send( 200, "text/plain", "No filemanager present during boot.\nUpload index.htm and reset controller" );
    });
  }

  //handle the timer editor
  webServer.on( "/editor", []() {
    webServer.send( 200, "text/html", "editor" );
  });

  //handle the file editor

      channel[thisChannel].currentPercentage = 0;
    }
    lightStatus = F( "Lights are off." );
    webServer.send( 200, FPSTR( textplainHEADER ), lightStatus );
  });

  webServer.on( "/api/lightson", []() {
