make ircasy more robust