revert the targetmetric with class string