cleaning up TextStatistics from root