fixed a cURL error , refs #144