fix curl