fixed wbsocket preview