Fixed upload bug with versions