fixed socket.io for webpage