Fixed math.