heartbeat fix