Statistics module fix