Fix etree usage