bad config file exception handling