removing control caracter from idex