fixes to handle spelling auto correct