refine classes for active links