Autocorrection reverts and/or crashes single Rem

When i use the spelling auto correction, as soon as my cursor leaves the rem, the changes that have been made revert. I can crash the rem by writing or deleting text within the rem i just tried to perform the auto correction on without clicking my cursor out of the rem (doing this will revert the change but not crash the rem).