the result is that the string is duplicate and display each element in a line but it don t pass the verification .Why????