Fixing math division by numerator