Minor change in metrics.py