fixed upload process