fix mongo remove bug