clear config. Grid generation code broken