remove junk in config file