Fix a bug for disable spelling correction