added deep copies of cloned children
removing t_element after t with no paragraph marker