refine editor