fix statistics.js