fix bug in resume scnlp