fixed upload hang