Fixed upload url issues