holoirc: fix crash when some strange behaviour occurs