fixed web sockets issue on Chrome