fixed continous chat and disconnection