fix for chat sending msgs.