fixing metricValue and mongoMetricValue.