Fixed upload bug.