fix bad config file