grid fix for tab