fix missing namespace variables in grid classes