fix mongo mapping.