reimplement index to prevent ssid name collision