Fixed a typo in stat calculation