fixed overriding of inherited variables.
This was causing the incorrect UID to be pushed to
the map controlled by cResourceManager.