change handle curl error