fixed the inline grid