fixed small bug with chat