Fix the issue in the metrics.