cleanup and spell check