grids bugs fixing