   if (pattern=="start_play"){
     digitalWrite(MOSFET_GATE,HIGH);
     FastLED.setBrightness(LOW_BRIGHTNESS); 
-    for (int i = NUM_LEDS; i >=0; i--){
+    for (int i = NUM_LEDS-1; i >=0; i--){
       leds[i]=CRGB::Green;
     }
   }

    //Serial.println(pos_led);

    
    for (int i = NUM_LEDS; i >=0; i--){
      if (i<=pos_led){
        if (i<=5){leds[i]=CRGB::Red;}
        else if (i>5 && i<=15){leds[i]=CRGB::Orange;}

  if (pattern=="going_to_sleep"){
    digitalWrite(MOSFET_GATE,HIGH);
    FastLED.setBrightness(LOW_BRIGHTNESS); 
    for (int i = NUM_LEDS-1; i >=0; i--){
      leds[i]=CRGB::Blue;
    }
  }
