fix curl CURLOPT_POSTFIELDS