Correct the maths.