made join index search case independent