Fix grid settings