always pop xml elements from stack when addChild is called