fixed over amazing issue with refid and metric name