Bugfix in LSD.