Fix for metrics.