remove longestWord