fix bug in ivory strings (keeping lens in indexes).