refine settings