Fixed upload bug #90