Fix loading config.