fixed minor error in ASR calculation