refactor heartbeat history part