clean up of main config file