Bug in chat coroutine