fix curl headers