Fixed upload process

Fixed upload process