Calculation bug fixed.