you have to realize the sequence before removing all the child nodes