Fixes #3 Deleting led sometimes crashes