small error in duration calc