fix removing children