removed a few afxcheckmemory