spellcheck and cleanup