fix stat division mistake