Fix string to text