bug fix: timedelta