fixed no bug in chat