fix bug in run.npt.sh