stats computation fixed