index change to string