fixed crash when timestamp strings have bad format