add recursive function get the name child node