fixed wrong propagation of anonymous scopes to siblings