Fix loading process when config.json is incomplete.