fixed duplicate metrics output