Error Avoidance

Avoid error TS2094 at upload.ts