fix grid settings