guard against nil root