fixed chatwindow bug hopefully