include root element by default if path is set