refine retry