adjust grid settings