bug fix: value error for datetime 3