fixed entity statistics, tests to come