edit config, remove junk from index