check code for common misspellings