minor fixes in privmsg