replace deprecated .scoped with .all