fixing maths