fix curl opt post off and post fields clear