fix double invisible spaces after select a word