remove reference to parentNode when we only have one element