Fix: grid is undefined - grid.get value func