fixed a small init error, now initialize and clear leds correctly