refine tagging