Bugfix in static leds code