fix very a big bug about chatroom by yan12125