Fixed error in ODS Calculation