Fixed bug in LED