refine switch tabs