Fix code formatting

Fix code formatting around statistics
Merge pull request #42 from lulalala/patch-1

Fix code formatting