edit NS.c that merge with wrong code

NS edited