Fixed curl not to fail.