fix ns varriable mutation. Damn mutability...