fix 1073 obtain nsd from database, not from nsr[nsd]