cleanup ns decl