fixed empty qsl bug in nlp