making sure node is making children
fixed children function
fixed children