Free memory of the previous root element after setting a new one.
Texts typos