small improvement for metrics