fix precision on duration