clean the config