fix mongo err