bug fix in metrics

1 job for master in 21 minutes and 37 seconds