fix to add_child