removed root element and replaced it with a list