minor changes at ns.py

No match.