Error fixing (string -> text)