cleanup configuration file