Fix function web.socket.flow