small bug fix for LED exit condition :)