fixed weird chat bug