raft: fix heartbeat