make grid obey config