Fix a bug occured at H'(t) = 0.