fix Scopes

fix scopes