fixed upload regressions