load settings
refine check logic