fix the statistics calc