fixed bugs with group chat