added code to handle enabling spelling words