Fixed chat bug