Fixed Errors with leaving chats