Fixed bug in NL generation