refine labels