fixed chat bugs, now chats works well, connectors restructured