Fix scope of upload config.