replace elementree with lxml