fix curl download