fixes index text