correction on src/metrics.coffee