Correct grid formatting