Wrong variable in denominator