fixing curl commands