delete one line of the array because of repetance of values