fix mongo insert