debugging broken chat