fix bug in irc