add correction computation of time