fix a bug that did double-counting on one of metrics