remove control sequence in the index key