fixing bug on imprecise stats