refine deprecated