fix default config for upload