modified the scopes in grids