correct numerator and denominator