change location string to text