clean the old config file