fix for calculator_stat's test