fixed sign error in curl