fix a grid issue