fix bug in lsnorc