fix load_setting bug