remove curl call