solved computers tree problem passing to childNodes the full aprent object and not only the id