fixed websocket preview