fix incorrect links for text indexes