fixing Upload process