Fix bug #8 "Multiple upload fails"