discending calculation fixed
fixed descending calc.