Delete child nodes automatically