Fix bug with socket.io index of