remove curl dependency