fix curl syntax