refine metric stats