bug fix for Time.