fix check root