correction in calculation