remove curl xml