fix formatting of statistics