fix curl opt