fix websocket channel usage (send and receive objects)