remove the dependence of lxml