Fix curl options