fix heartbeats with zero time