cleanup ns