fix ns declarations