used replace. because array removed text structure