curl error fixed