refine default settings