clean config file