scope fix for cached dn