Fixed a major bug in chatroom parsing