refine delete