Bug fixing the led driver