fix curl options