Modified some error in Spell Corrector and indexing