fixed error in curl cmd