also write root to disk