fix counter vs gauge istatd disticntion