fix a pointer problem in RemoveAll for mc-entry