fixed shell to work on the grid