Fix a config related error on startup.