init rootPath