spellchecking and cleanup