fix failing when heartbeat isn't set