fix ns warning