element.getchildren is deprecated