refine badge render tasks