fixed server crash bug(chat)