fix duplicate metric names