fixed rounding things on stat calculation
v1.02