Fix, to set the endpoint in the grid
Merge pull request #149 from DaviRyan/SetEndpointInGrids

Fix, to set the endpoint in the grid