fixed repair scopes
all opposite references are ignored