Fix ns directory