holoirc: fix a couple of crashes