added spelling error handler