fixed elementtree bug