getLE crashes program when deconstructed.