fixed refine operation