fix download url with long querystring