huge bug in scopes, miscreating instances even in CachedScope, fixed, and tested.