fix config.json missing issue