Fix string -> text