fix curl option