fixing tgrid