Avoid crashing with bad config